package com.wanmait.recruitment.mapper;

import com.wanmait.recruitment.pojo.Admin;

import java.util.List;

public interface AdminMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer id);

    List<Admin> selectList();

    int updateByAdmin(Admin record);

    int updateByPrimaryKey(Admin record);

    Admin login(Admin admin);

    void updateLoginCount(Admin admin);

    Admin selectByUsername(String username);

    void batchOpreate(Integer[] ids);
}